const getters = {
  token: state => state.user.token,
  userId: state => state.user.userInfo.id,
  name: state => state.user.userInfo.name,
  permissions: state => state.user.userInfo.permissions
}

export default getters
